﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewDDSys.Entity;
using NewDDSys.Factory;
using NewDDSys.IBLL;
using System.Data;

namespace NewDDSys.BLL
{
    public class LtrBLL:ILtrBLL
    {
        public int Add(LtrInfo jh)
        {
            return DALFactory.CreateLtrDAL().Add(jh);
        }
        public int Update(string num, decimal yl)
        {
            return DALFactory.CreateLtrDAL().Update(num, yl);
        }
        public int Del(string num)
        {
            return DALFactory.CreateLtrDAL().Del(num);
        }
        public DataSet Select(string num)
        {
            return DALFactory.CreateLtrDAL().Select(num);
        }
        public DataSet SelectByDay(string xday)
        {
            return DALFactory.CreateLtrDAL().SelectByDay(xday);
        }
        public string AUTOID(string ku)
        {
            return DALFactory.CreateLtrDAL().AUTOID(ku);
        }
        public string JHS(string ku, string bt, string et)
        {
            return DALFactory.CreateLtrDAL().JHS(ku, bt, et);
        }
        public string YJHL(string ku, string bt, string et)
        {
            return DALFactory.CreateLtrDAL().YJHL(ku, bt, et);
        }
        public string ZJHL(string ku, string bt, string et)
        {
            return DALFactory.CreateLtrDAL().ZJHL(ku, bt, et);
        }
        public DataSet JHRQ(string ku, string bt, string et)
        {
            return DALFactory.CreateLtrDAL().JHRQ(ku, bt, et);
        }
        public DataSet JHRQFW(string ku, string jday)
        {
            return DALFactory.CreateLtrDAL().JHRQFW(ku, jday);
        }
        public string KURJH(string ku, string jday)
        {
            return DALFactory.CreateLtrDAL().KURJH(ku, jday);
        }
        public string XCYJHTS(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().XCYJHTS(bt, et);
        }
        public DataSet XCRQFW(string jday)
        {
            return DALFactory.CreateLtrDAL().XCRQFW(jday);
        }
        public DataSet XCJHRQ(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().XCJHRQ(bt, et);
        }
        public string XCYJH(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().XCYJH(bt, et);
        }
        public string XCZJH(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().XCZJH(bt, et);
        }


        public string BCYJHTS(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().BCYJHTS(bt, et);
        }
        public DataSet BCRQFW(string jday)
        {
            return DALFactory.CreateLtrDAL().BCRQFW(jday);
        }
        public DataSet BCJHRQ(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().BCJHRQ(bt, et);
        }
        public string BCYJH(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().BCYJH(bt, et);
        }
        public string BCZJH(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().BCZJH(bt, et);
        }

        public string ZBYJHTS(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().ZBYJHTS(bt, et);
        }
        public DataSet ZBRQFW(string jday)
        {
            return DALFactory.CreateLtrDAL().ZBRQFW(jday);
        }
        public DataSet ZBJHRQ(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().ZBJHRQ(bt, et);
        }
        public string ZBYJH(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().ZBYJH(bt, et);
        }
        public string ZBZJH(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().ZBZJH(bt, et);
        }

        public string JBYJHTS(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().JBYJHTS(bt, et);
        }
        public DataSet JBRQFW(string jday)
        {
            return DALFactory.CreateLtrDAL().JBRQFW(jday);
        }
        public DataSet JBJHRQ(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().JBJHRQ(bt, et);
        }
        public string JBYJH(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().JBYJH(bt, et);
        }
        public string JBZJH(string bt, string et)
        {
            return DALFactory.CreateLtrDAL().JBZJH(bt, et);
        }
        public string JDJH(string cday)
        {
            return DALFactory.CreateLtrDAL().JDJH(cday);
        }
    }
}
